{"ast":null,"code":"import * as React from 'react';\nconst usePreviousProps = value => {\n  const ref = React.useRef({});\n  React.useEffect(() => {\n    ref.current = value;\n  });\n  return ref.current;\n};\nexport default usePreviousProps;","map":{"version":3,"names":["React","usePreviousProps","value","ref","useRef","useEffect","current"],"sources":["/data/messenger.client/node_modules/@mui/utils/esm/usePreviousProps.js"],"sourcesContent":["import * as React from 'react';\nconst usePreviousProps = value => {\n  const ref = React.useRef({});\n  React.useEffect(() => {\n    ref.current = value;\n  });\n  return ref.current;\n};\nexport default usePreviousProps;"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,MAAMC,gBAAgB,GAAGC,KAAK,IAAI;EAChC,MAAMC,GAAG,GAAGH,KAAK,CAACI,MAAM,CAAC,CAAC,CAAC,CAAC;EAC5BJ,KAAK,CAACK,SAAS,CAAC,MAAM;IACpBF,GAAG,CAACG,OAAO,GAAGJ,KAAK;EACrB,CAAC,CAAC;EACF,OAAOC,GAAG,CAACG,OAAO;AACpB,CAAC;AACD,eAAeL,gBAAgB"},"metadata":{},"sourceType":"module"}